x = 10000
for num in range(1,21):
    import random
    socre = random.randint(1,10)
    if socre < 5:
       print(f"员工{num}绩效分为{socre}分，不满足奖金要求")
       continue
    else:
      print(f"员工{num}绩效为{socre}分，满足奖金要求")
      if x >= 1000:
        x -= 1000
        print(f"钱还够，使劲发,还有{x}")
      else:
        print(f"钱不够了，还有{x}元")
        break
